﻿using Hotel.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.DAL
{
    public class HotelContext : DbContext
    {
        public HotelContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<AdminModel> AdminInfo { get; set; }
        public DbSet<MemberModel> MemberInfo { get; set; }
        public DbSet<LevelModel> levelInfo {  get; set; } 
        public DbSet<RightModel> RightInfo {  get; set; }
        public DbSet<ShopModel> ShopInfo {  get; set; }

    }
}
